﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebsiteClient.Models;

namespace WebsiteClient
{
    public class ValuesController : ApiController
    {
        // GET api/<controller>
        public IEnumerable<RegisterViewModel> Get()
        {
            return new RegisterViewModel[] {  };
        }

        // GET api/<controller>/5
        //private Server.User ConvertUser(ApplicationUser appUser)
        //{
        //    User user = new User();
        //    user.Email = appUser.Email;
        //    user.Password = appUser.PasswordHash;
        //    user.Status = "fgt";
        //    return user;
        //}
        //public bool AddUser(ApplicationUser appUser)
        //{
        //    Server.Controller.UserController userctrl = new Server.Controller.UserController();
        //    userctrl.AddUser(ConvertUser(appUser));
        //    return true;
        //}

        // POST api/<controller>
        public void Post([FromBody]string value)
        {
        }

        // PUT api/<controller>/5
        public void Put(int id, [FromBody]string value)
        {
        }

        // DELETE api/<controller>/5
        public void Delete(int id)
        {
        }
    }
}